import {
    AppstoreOutlined,
    PieChartOutlined,
    DesktopOutlined,
    ContainerOutlined,
    MailOutlined,
    UserOutlined
} from '@ant-design/icons';

export const routerList = [
    {
        title: "首页",
        path: "/main/home",
        icon: <AppstoreOutlined />,
        premisssion: 0   // 权限
    },
    {
        title: "用户管理",
        path: "/main/user",
        icon: <UserOutlined />,
        premisssion: 1,
        children: [
            {
                title: "用户列表",
                path: "/main/user/list",
                icon: <UserOutlined />,
                premisssion: 1   // 权限
            },
            {
                title: "用户分析",
                path: "/main/user/fenxi",
                icon: <UserOutlined />,
                premisssion: 2   // 权限
            },
        ],

    },
    {
        title: "健康管理",
        path: "/main/heathy",
        icon: <PieChartOutlined />,
        premisssion: 0,   // 权限
        children: [
            {
                title: "体温登记",
                path: "/main/heathy/tiwen",
                icon: <PieChartOutlined />,
                premisssion: 0   // 权限
            },
            {
                title: "疫苗登记",
                path: "/main/heathy/yimiao",
                icon: <PieChartOutlined />,
                premisssion: 0   // 权限
            },
            {
                title: "药物登记",
                path: "/main/heathy/yaowu",
                icon: <PieChartOutlined />,
                premisssion: 0   // 权限
            },
            {
                title: "就诊登记",
                path: "/main/heathy/jiuzhen",
                icon: <PieChartOutlined />,
                premisssion: 0   // 权限
            },
        ],
    },
    {
        title: "意见管理",
        path: "/main/advise",
        icon: <DesktopOutlined />,
        premisssion: 0,   // 权限
        children: [
            {
                title: "意见列表",
                path: "/main/advise/list",
                icon: <DesktopOutlined />,
                premisssion: 0   // 权限
            },
            {
                title: "意见分析",
                path: "/main/advise/fenxi",
                icon: <DesktopOutlined />,
                premisssion: 1   // 权限
            },
        ],
    },
    {
        title: "通告管理",
        path: "/main/anno",
        icon: <ContainerOutlined />,
        premisssion: 0,   // 权限
        children: [
            {
                title: "添加通告",
                path: "/main/anno/add",
                icon: <ContainerOutlined />,
                premisssion: 1   // 权限
            },
            {
                title: "通告列表",
                path: "/main/anno/list",
                icon: <ContainerOutlined />,
                premisssion: 0   // 权限
            },
        ],
    },
    {
        title: "个人中心",
        path: "/main/mine",
        icon: <MailOutlined />,
        premisssion: 0   // 权限
    },
]